<template>
  <view class="index-wrapper app"></view>
</template>
<script>
export default {
  name: "MineTab",
  props: {},
  data() {
    return {};
  },

  onLoad(option) {
    console.log(option);
    if (option.source) {
      if (option.source === 'fxdj') {
        wx.redirectTo({
          url: `/fxdj/index?siteId=${option.siteId}&batchId=${option.batchId}&batchType=${option.batchType}`
        });
      } else {
        //  职新人扫pc码入职，职新人扫管理端码入职
        wx.redirectTo({
          url: `/entryAll/manualAdd/manualAdd?params=${option.params}&source=${option.source}`
        });
      }
    }
  },
  methods: {}
};
</script>
<style lang="scss">
@import "./style.scss";
</style>
<style>
.u-radio {
  margin-bottom: 12px;
}
</style>